<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <script>
        var arr = [10,20,30];
        console.log(...arr); // 10 20 30



    </script>
</body>
</html>